<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/corp/include/taglibs.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title></title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">	
	<LINK href="${ctx }/css/style.css" type=text/css rel=stylesheet>
	<LINK href="${ctx }/css/corp/css.css" type=text/css rel=stylesheet>
	<script type='text/javascript'
		src='<%=request.getContextPath()%>/dwr/util.js'></script>
	<script type='text/javascript'
		src='<%=request.getContextPath()%>/dwr/engine.js'></script>
	<script type='text/javascript'
		src='<%=request.getContextPath()%>/dwr/interface/sysDwr.js'></script>


</head>

<jsp:include flush="true" page="js.jsp"></jsp:include>
<body>
	<div id="Layer2" class=Layer2></div>
	<div id="Layer3" class=Layer3></div>
	<s:form action="/corp/corpPublication_listnoauditing.do" name="publicationForm">
<input type="hidden" name="publicationid" value="${id}"/>
<input type="hidden" name="key" />
		<table width="100%" border="1">
			<tr>
				<td width="12">
				</td>
				<td>
					<table width="98%" border="1" cellpadding="0" cellspacing="0"
						align="center">	
						<tr>
							<td height="25" colspan="2">
								<span class="h3">&nbsp;<img
										src="${ctx }/images/corp/pic_biao1.gif" width="11" height="11" />&nbsp;未审核电子书列表</span>
							</td>
							<td height="25" align="right">
								<input type="checkbox" id="allselect"
									onclick="selectall(this.id)" />
								全选





















								<input type="button" value="删除所选" onclick="moreselectdelete()"
									style="cursor:hand;" />
								<input type="button" style="cursor:hand;" value="搜索"
									onclick="search();" />
							</td>
						</tr>
					</table>
				</td>
				<td width="15">
				</td>
			</tr>
			<tr>
				<td>
				</td>
				<td>
					<table width="100%" border="0" cellpadding="0" cellspacing="1"
						bordercolor="#CCCCCC" bgcolor="#999999"
						style="border:1px solid #949494">
						<tr class=tb_1>
							<td width="11%" height="25" align="center" class="h3">
								选择
							</td>
							<td width="29%" height="25" align="center" class="h3">
								电子书









							</td>
							<td width="12%" height="25" align="center" class="h3">
								标题
							</td>
							<td width="12%" height="25" align="center" class="h3">
								类型
							</td>
							
							<td width="12%" height="25" align="center" class="h3">
								出版物类型





















							</td>
							<td width="12%" height="25" align="center" class="h3">
								操作
							</td>
						</tr>
						<c:if test="${!empty requestScope.corpPublicationList }">
							<c:forEach var="publication" items="${requestScope.corpPublicationList}">
								<tr>
									<td align="center" bgcolor="#FFFFFF">
										<input type="checkbox" name="pubid"
											value="&amp;publicationid=${publication.id}" />
									</td>
									<td style="height:120px;" valign="middle" align="center"
										bgcolor="#FFFFFF">
										<table width="60" border="0" cellpadding="2" cellspacing="2"
											style="border:2px solid #949494;">
											<tr>
												<td bgcolor="#FFFFFF" valign="middle">
													<img onmouseout="closelayer(false);"
														onmouseover="showpic(this.src);"
														src="${ctx}/${requestScope.imagepath}${publication.pubPath }/${requestScope.thumbpath}"
														width="60" style="height:80" />
												</td>
											</tr>
										</table>
									</td>
									<td align="center" bgcolor="#FFFFFF">
										<span class="h5">${publication.title}</span>
									</td>
									<td align="center" bgcolor="#FFFFFF">
										<span class="h5"> <c:choose>
												<c:when test="${publication.pubType==1}">
					   单页					  </c:when>
												<c:otherwise>
					   双页					  </c:otherwise>
											</c:choose> </span>
									</td>
									<td align="center" bgcolor="#FFFFFF">
										<span class="h5"> <c:forEach var="typeDict" items="${requestScope.typeDicts}">
                          
							 <c:if test="${typeDict.classCode==publication.typeId}">
						  ${typeDict.classValue}						</c:if>
                          </c:forEach> </span>
									</td>
									
									<td align="center" bgcolor="#FFFFFF">
										<table width="100" border="0" cellpadding="3" cellspacing="3">
											<tr>
												<td>
													<table width="100" border="0" cellpadding="0"
														cellspacing="0">
														<tr>
															<td width="4" align="left">
																<img src="${ctx }/images/corp/anniu_left.gif" width="4"
																	height="22" />
															</td>
															<td width="84" align="center"
																background="${ctx }/images/corp/anniu_cenner.gif"
																class="h4">
																<a
																	href="javascript:displaycontent('${publication.id}')">查





















																	看</a>
															</td>
															<td width="4" align="right">
																<img src="${ctx }/images/corp/anniu_right.gif" width="4"
																	height="22" />
															</td>
														</tr>
													</table>
												</td>
												<td>
													<table width="100" border="0" cellpadding="0"
														cellspacing="0">
														<tr>
															<td width="4" align="left">
																<img src="${ctx }/images/corp/anniu_left.gif" width="4"
																	height="22" />
															</td>
															<td width="84" align="center"
																background="${ctx }/images/corp/anniu_cenner.gif"
																class="h4">
															<!-- 	<a
																	href="javascript:addcontent('${ctx }/corp/publicationPage.do?m=newshow&publicationid=${publication.id }')">添加内容</a>
																	 -->
															<c:choose>
															   <c:when test="${publication.pubType==2 }">
															     <c:set var="width" value="${publication.width*2}"></c:set>
															   </c:when>
															   <c:otherwise>
															    <c:set var="width" value="${publication.width}"></c:set>
															   </c:otherwise>
															</c:choose> 
															 <a href="javascript:addcontent('${ctx }/corp/publicationPage.do?m=newshow&publicationid=${publication.id }&fileformat=${requestScope.fileformat}&leftfilesize=${requestScope.leftsize}&filewh=${width}*${publication.height}')">
           添加内容</a>
															</td>
															<td width="4" align="right">
																<img src="${ctx }/images/corp/anniu_right.gif" width="4"
																	height="22" />
															</td>
														</tr>
													</table>
												</td>
												<td>
													<table width="70" border="0" cellpadding="0"
														cellspacing="0">
														<tr>
															<td width="4" align="left">
																<img src="${ctx }/images/corp/anniu_left.gif" width="4"
																	height="22" />
															</td>
															<td width="84" align="center"
																background="${ctx }/images/corp/anniu_cenner.gif"
																class="h4">
																<a
																	href="javascript:modify('${ctx }/corp/publication.do?m=editui&publicationid=${publication.id }')">修





















																	改</a>
															</td>
															<td width="4" align="right">
																<img src="${ctx }/images/corp/anniu_right.gif" width="4"
																	height="22" />
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td>
													<table width="100" border="0" cellpadding="0"
														cellspacing="0">
														<tr>
															<td width="4" align="left">
																<img src="${ctx }/images/corp/anniu_left.gif" width="4"
																	height="22" />
															</td>
															<td width="84" align="center"
																background="${ctx }/images/corp/anniu_cenner.gif"
																class="h4"><a href="javascript:void(window.open('${ctx}/showBook.do?m=showbook&publicationid=${publication.id }','_blank',675, 1024, 0, 0, 'no',' no', 'no', 'yes','no','no')); " style="cursor:hand; ">预 览</a>
															</td>
															<td width="4" align="right">
																<img src="${ctx }/images/corp/anniu_right.gif" width="4"
																	height="22" />
															</td>
														</tr>
													</table>
												</td>
												<td>
													<table width="100" border="0" cellpadding="0"
														cellspacing="0">
														<tr>
															<td width="4" align="left">
																<img src="${ctx }/images/corp/anniu_left.gif" width="4"
																	height="22" />
															</td>
															<td width="84" align="center"
																background="${ctx }/images/corp/anniu_cenner.gif"
																class="h4">
																<a
																	href="javascript:editpuborder('${ctx }/corp/publication.do?m=editpubui&publicationid=${publication.id }')">编辑内容</a>
															</td>
															<td width="4" align="right">
																<img src="${ctx }/images/corp/anniu_right.gif" width="4"
																	height="22" />
															</td>
														</tr>
													</table>
												</td>
												<td>
													<table width="70" border="0" cellpadding="0"
														cellspacing="0">
														<tr>
															<td width="4" align="left">
																<img src="${ctx }/images/corp/anniu_left.gif" width="4"
																	height="22" />
															</td>
															<td width="84" align="center"
																background="${ctx }/images/corp/anniu_cenner.gif"
																class="h4">
																<a
																	href="javascript:deletethis('${ctx }/corp/publication.do?m=delete&publicationid=${publication.id}')"
																	onclick="return window.confirm('确定要删除吗?');">删 除</a>
															</td>
															<td width="4" align="right">
																<img src="${ctx }/images/corp/anniu_right.gif" width="4"
																	height="22" />
															</td>
														</tr>


													</table>
												</td>
											</tr>
											<tr>
											<td>
													<table width="100" border="0" cellpadding="0"
														cellspacing="0">
														<tr>
															<td width="4" align="left">
																<img src="${ctx }/images/corp/anniu_left.gif" width="4"
																	height="22" />
															</td>
															<td width="84" align="center"
																background="${ctx }/images/corp/anniu_cenner.gif"
																class="h4">
																<a
																	href="javascript:editpuborder('${ctx }/corp/publication.do?m=seniorsetui&publicationid=${publication.id}')"
																	>高级设置</a>
															</td>
															<td width="4" align="right">
																<img src="${ctx }/images/corp/anniu_right.gif" width="4"
																	height="22" />
															</td>
														</tr>


													</table>													
											</tr>
										</table>
									</td>
									<td width="15">
									</td>
								</tr>
							</c:forEach>
							<tr>
								  <td align="center" colspan="6"  bgcolor="#FFFFFF"> 
					 <div class="pnav"> <tool:page rscount="${pubcount}" currentpage="${currentpage}" url="corp/corpPblication_list.do?1=1&${searchStr}" pageStytle="${pageStytle}"/></div>
					  					 </td>
							</tr>
						</c:if>
						<c:if test="${empty requestScope.corpPublicationList }">
							<tr>
								<td align="center" colspan="6" bgcolor="#FFFFFF">
									<font color="red"> <c:out value="没有您要的数据"></c:out>
									</font>
								</td>
							</tr>
						</c:if>
					</table>
				</td>
			</tr>
		</table>
		 <c:if test="${!empty requestScope.corpPublicationList }">
		   <mytag:showpublicationdetail typeDicts="${requestScope.typeDicts}" imgurl="${ctx}/images/corp/"  publicationlist="${requestScope.corpPublicationList}" corpCatalogs="${requestScope.corpCatalogs}"></mytag:showpublicationdetail>
		   </c:if>
		</s:form>
	

</body>
</html>
